package cn.bs.domain.vo;

import java.time.LocalDateTime;
import java.util.Date;

public class UserVO {
    private Integer id;
    private String name;
    private String pwd;
    private String telephone;
    private String type;//用户类型，默认1为普通用户，0为管理员
    private LocalDateTime date;

    public UserVO() {
    }

    public UserVO(Integer id, String name, String pwd, String telephone,
                  String type, LocalDateTime date) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.telephone = telephone;
        this.type = type;
        this.date = date;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public LocalDateTime getDate() {
        return date;
    }

    public void setDate(LocalDateTime date) {
        this.date = date;
    }
}
